<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,height=device-height, user-scalable=no,initial-scale=1, minimum-scale=1, maximum-scale=1,target-densitydpi=device-dpi "> 
<title>众创云购</title>
<link rel="stylesheet" href="css/zhongchuangyungou.css">
<script src="jq/jquery.js"></script>
<script src="js/swiper.min.js"></script>
<link rel="stylesheet" href="css/swiper.min.css">
</head>

<body>
<div class="tongping">
	<div class="huiyuan">
		<a href="jyscqg.html"><div class="huiyuan1">求购增值豆</div></a>
		<a href="dxzr.html"><div class="huiyuan2 yanse">定向转让</div></a>
		<a href="qgxx.html"><div class="huiyuan3">求购信息</div></a>
		<div class="fanhui_1">
			<a href="javascript:history.go(-1);">
				<img src="images/fh3.png" alt="">
			</a>
		</div>
		<div class="clearfix"></div>
	</div>
	<div class="gaodu"></div>
	<div class="xian"></div>
	<div class="ss">
		<input class="ss1" type="text" placeholder="请输入对方手机号"><input class="ss2" type="button" value="搜索">
	</div>
	<div class="jiaoyiguize">
		具体交易规则请查看
		<span class="jiaoyiguize1">
			《交易说明》
		</span>
	</div>
	<div class="huiyuangoumai">
		<div class="huiyuangoumai1">会员ID</div>
		<div class="huiyuangoumai2">数量</div>
		<div class="huiyuangoumai3">时间</div>
		<div class="huiyuangoumai4">状态</div>
		<div class="clearfix"></div>
	</div>
	<div class="zhanghaomingchen">
		<div class="zhanghaomingchen1">账号名称</div>
		<div class="zhanghaomingchen2">1000</div>
		<div class="zhanghaomingchen3">2017/07/02</div>
		<div class="zhanghaomingchen4">购买</div>
		<div class="clearfix"></div>
	</div>
	<div class="zhanghaomingchen">
		<div class="zhanghaomingchen1">账号名称</div>
		<div class="zhanghaomingchen2">1000</div>
		<div class="zhanghaomingchen3">2017/07/02</div>
		<div class="zhanghaomingchen4">购买</div>
		<div class="clearfix"></div>
	</div>
	<div class="zhanghaomingchen">
		<div class="zhanghaomingchen1">账号名称</div>
		<div class="zhanghaomingchen2">1000</div>
		<div class="zhanghaomingchen3">2017/07/02</div>
		<div class="zhanghaomingchen4">购买</div>
		<div class="clearfix"></div>
	</div>
	<div class="zhanghaomingchen">
		<div class="zhanghaomingchen1">账号名称</div>
		<div class="zhanghaomingchen2">1000</div>
		<div class="zhanghaomingchen3">2017/07/02</div>
		<div class="zhanghaomingchen4">购买</div>
		<div class="clearfix"></div>
	</div>
	<div class="zhanghaomingchen">
		<div class="zhanghaomingchen1">账号名称</div>
		<div class="zhanghaomingchen2">1000</div>
		<div class="zhanghaomingchen3">2017/07/02</div>
		<div class="zhanghaomingchen5">已成交</div>
		<div class="clearfix"></div>
	</div>
	<div class="zhanghaomingchen">
		<div class="zhanghaomingchen1">账号名称</div>
		<div class="zhanghaomingchen2">1000</div>
		<div class="zhanghaomingchen3">2017/07/02</div>
		<div class="zhanghaomingchen5">已成交</div>
		<div class="clearfix"></div>
	</div>
	<div class="zhanghaomingchen">
		<div class="zhanghaomingchen1">账号名称</div>
		<div class="zhanghaomingchen2">1000</div>
		<div class="zhanghaomingchen3">2017/07/02</div>
		<div class="zhanghaomingchen5">已成交</div>
		<div class="clearfix"></div>
	</div>
	<div class="zhanghaomingchen">
		<div class="zhanghaomingchen1">账号名称</div>
		<div class="zhanghaomingchen2">1000</div>
		<div class="zhanghaomingchen3">2017/07/02</div>
		<div class="zhanghaomingchen5">已成交</div>
		<div class="clearfix"></div>
	</div>
	<div class="gaodu"></div>
</div>
<div class="caidan">
	<a href="index.html">
		<div class="caidan_1">
			<div class="caidan_1_1">
				<img src="images/sc2.png" alt="">
			</div>
			<h1 class="caidan_2_2">
			商城
			</h1>
		</div>
	</a>
	<a href="ruanwen.html">
		<div class="caidan_1">
			<div class="caidan_1_1">
				<img src="images/wz2.png" alt="">
			</div>
			<h1 class="caidan_2_2">
				美文分享
			</h1>
		</div>
	</a>
	<a href="">
		<div class="caidan_1">
			<div class="caidan_1_1">
				<img src="images/zs2.png" alt="">
			</div>
			<h1 class="caidan_2_2">
				招商中心
			</h1>
		</div>
	</a>
	<a href="gerenzhongxinfenxiaohuiyuan.html">
		<div class="caidan_1">
			<div class="caidan_1_1">
				<img src="images/grzx1.png" alt="">
			</div>
			<h1 class="caidan_2_2">
				<span class="caidan_1_2">
				个人中心
				</span>
			</h1>
		</div>
	</a>
</div>
<div class="dingxiangchushou">
	<div class="dingxiangchushou1">
	<div class="dingxiangchushou2">定向出售</div>
	<div class="dingxiangchushou3">您要定向出售的用户是</div>
	<div class="dingxiangchushou4">真实姓名：张小邪</div>
	<div class="dingxiangchushou4">手机号码：15805398888</div>
	<div class="dingxiangchushou4">微信　　：Angel张小邪</div>
	<div class="dingxiangchushou4">支付宝　：Angel张小邪</div>
	<div class="dingxiangchushou5">
	<input class="dingxiangchushou6" type="text" placeholder="请输入数量"></div>
	<div class="dingxiangchushou5">
		<div class="dingxiangchushou7">取消</div>
		<div class="dingxiangchushou8">确定出售</div>
		<div class="clearfix"></div>
	</div>
	</div>
</div>
<div class="lijizhifu">
	<div class="lijizhifu1">
		<div class="peisong">
			<h2 class="peisong1">支付金额</h2>
			<h2 class="peisong2"><span class="secai">￥66.00元</span></h2>
			<div class="clearfix"></div>
		</div>
		<div class="lijizhifu2">
			<div class="lijizhifu21">
			<div class="lijizhifu22"><img src="images/xz-2.png" alt=""></div>
			<h2 class="lijizhifu23">支付方式</h2>
			</div>
			<h2 class="lijizhifu24">支付宝安全支付</h2>
			<div class="lijizhifu_tupian"><img src="images/zf2.png" alt=""></div>
			<div class="clearfix"></div>
		</div>
		<div class="lijizhifu2">
			<div class="lijizhifu21">
			<div class="lijizhifu22"><img src="images/xz-1.png" alt=""></div>
			<h2 class="lijizhifu23">支付方式</h2>
			</div>
			<h2 class="lijizhifu24">微信安全支付</h2>
			<div class="lijizhifu_tupian"><img src="images/zf1.png" alt=""></div>
			<div class="clearfix"></div>
		</div>
		<div class="lijizhifu_bottom">立即支付</div>
	</div>
</div>
<script>
	$(function(){
		$('.ss2').click(function(){
			$('.dingxiangchushou').css('display','block');
		})
	})
	var dingxiangchushou = document.querySelector('.dingxiangchushou');
	var dingxiangchushou1 = document.querySelector('.dingxiangchushou1');
	dingxiangchushou.addEventListener('click',function(event){
		console.log(event.target.classList[0]);
		if(event.target.classList[0]==='dingxiangchushou'){
			dingxiangchushou.style.display = 'none';
			return;
		}else{
			console.log('未选取遮罩层区域');
		}
	})
	</script>
<script>
	$(function(){
		// 点击提交订单，出现遮罩层
		$('.zhanghaomingchen4').click(function(event) {
			/*$('.lijizhifu').animate({
				height:'100%'
			},1000)*/
			$('.lijizhifu').fadeIn(100);
		});
		// 点击切换选择radio
		$('.lijizhifu22').click(function(){
			// console.log($(this).children('img').attr('src').charAt(10));
			if($(this).children('img').attr('src').charAt(10)=='2'){
				$(this).children('img').attr('src','images/xz-1.png');
				$(this).parent('.lijizhifu21').parent('.lijizhifu2').siblings('.lijizhifu2').children('.lijizhifu21').children('.lijizhifu22').children('img').attr('src','images/xz-2.png')
			}else{
				$(this).children('img').attr('src','images/xz-2.png');
				$(this).parent('.lijizhifu21').parent('.lijizhifu2').siblings('.lijizhifu2').children('.lijizhifu21').children('.lijizhifu22').children('img').attr('src','images/xz-1.png')
				
			}
		})
	})
	// 点击遮罩层外边，立即支付消失
	var lijizhifu = document.querySelector('.lijizhifu');
	var lijizhifu1 = document.querySelector('.lijizhifu1');
	lijizhifu.addEventListener('click',function(event){
		if(event.target.classList[0]==='lijizhifu'){
			$('.lijizhifu').fadeOut(100);
			return;
		}else{
			console.log('选择的不在遮罩层内');
		}
	})
</script>
</body>
</html>
